package com.deliinsns.app.security.bean;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;


public class Role implements Serializable {

	private static final long serialVersionUID = -6336865316293023970L;
	
	private Integer id;
	private String name;
	private Set<Permission> permissions= new HashSet<Permission>(0);;
	private String remark;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public void setPermissions(Set<Permission> permissions) {
		this.permissions = permissions;
	}
	public Set<Permission> getPermissions() {
		return permissions;
	}
	

}
